Signed-off-by: Keir Fraser <keir@xensource.com>
return 1;
}
-/* hooks function for the HLT instruction emulation wakeup */
+/* Hook function for the HLT instruction emulation wakeup. */
void hlt_timer_fn(void *data)
{
struct vcpu *v = data;
-
- hvm_prod_vcpu(v);
+ vcpu_kick(v);
}
static __inline__ void missed_ticks(struct periodic_time *pt)
notify_via_xen_event_channel(v->arch.hvm_vcpu.xen_port);
}
-
-/* Wake up a vcpu whihc is waiting for interrupts to come in */
-void hvm_prod_vcpu(struct vcpu *v)
-{
- vcpu_unblock(v);
-}
-
void send_pio_req(unsigned long port, unsigned long count, int size,
long value, int dir, int df, int pvalid)
{
"level trig mode for vector %d\n", vector);
vlapic_set_vector(vector, vlapic->regs + APIC_TMR);
}
- hvm_prod_vcpu(v);
+
+ vcpu_kick(v);
result = 1;
break;
void hvm_do_hypercall(struct cpu_user_regs *pregs);
-void hvm_prod_vcpu(struct vcpu *v);
-
void hvm_hlt(unsigned long rflags);
#endif /* __ASM_X86_HVM_SUPPORT_H__ */